package com.cloud.streamconsumergroup;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Spring Cloud Stream如何处理消息重复消费
 *
 * 1. 启动 RabbitMQ
 * 2. 设置 stream-consumer-group 项目，为非单例模式，启动两个实例
 * 3. 启动测试用例
 *
 * 修改配置，对比开启与关闭消费组的区别
 */
@SpringBootApplication
public class StreamConsumerGroupApplication {

    public static void main(String[] args) {
        SpringApplication.run(StreamConsumerGroupApplication.class, args);
    }

}
